package com.sailorj.service;

import com.sailorj.entity.SysUser;
import com.sailorj.util.PageBean;

public interface SysUserService {
    String addUser(SysUser user);

    void delUserById(int id);

    void updateUserById(SysUser user);

    SysUser getUserById(int id);

//    SysUser aotu(SysUser user);

    PageBean getUserList(Integer page, Integer size);

    public SysUser findByUserName(String name);
    SysUser login(SysUser user);
}
